import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class AppStyle {
  static var boxShadow = [
    BoxShadow(color: Colors.grey.withAlpha(40), blurRadius: 5, spreadRadius: 5)
  ];
  static var borderRadius = const BorderRadius.all(Radius.circular(5));
  static var inputFormatterNumber = [
    FilteringTextInputFormatter.allow(RegExp("[0-9]")),
  ];

  static var inputFormatterPassword = [
    FilteringTextInputFormatter.deny(RegExp("[\u4e00-\u9fa5]"))
  ];
}
